<?php

namespace App\Http\Controllers\Api;

use App\Http\Controllers\Controller;
use App\Models\portrait;

class PortraitController extends Controller
{
    /**
     * 获取所有头像
     */
    public function getAllPortrait()
    {
        $this->sendToClient(['code' => 200, 'f' => self::$f, 'data' => portrait::getAllPortrait()]);
    }
}
